<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>百度新闻</title>
</head>
<body>
  <h1>EJS模板</h1>
  <%
  news.forEach(item => { %>
    <a href="<%=item.url%>">
      <%=item.title%>
    </a>
  <%});
  %>

</body>
</html>